package com.momo.hotel.dao.pojo;

import javax.persistence.*;

@Table(name = "hotel_type")
public class TbHotelType {
    @Id
    private Integer id;

    /**
     * 酒店品牌
     */
    @Column(name = "hotel_name")
    private String hotelName;

    /**
     * 房间类型
     */
    @Column(name = "room_type")
    private String roomType;

    /**
     * 房间数量
     */
    @Column(name = "room_num")
    private Integer roomNum;

    /**
     * 酒店地址
     */
    private String location;

    private Integer flag;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取酒店品牌
     *
     * @return hotel_name - 酒店品牌
     */
    public String getHotelName() {
        return hotelName;
    }

    /**
     * 设置酒店品牌
     *
     * @param hotelName 酒店品牌
     */
    public void setHotelName(String hotelName) {
        this.hotelName = hotelName == null ? null : hotelName.trim();
    }

    /**
     * 获取房间类型
     *
     * @return room_type - 房间类型
     */
    public String getRoomType() {
        return roomType;
    }

    /**
     * 设置房间类型
     *
     * @param roomType 房间类型
     */
    public void setRoomType(String roomType) {
        this.roomType = roomType == null ? null : roomType.trim();
    }

    /**
     * 获取房间数量
     *
     * @return room_num - 房间数量
     */
    public Integer getRoomNum() {
        return roomNum;
    }

    /**
     * 设置房间数量
     *
     * @param roomNum 房间数量
     */
    public void setRoomNum(Integer roomNum) {
        this.roomNum = roomNum;
    }

    /**
     * 获取酒店地址
     *
     * @return location - 酒店地址
     */
    public String getLocation() {
        return location;
    }

    /**
     * 设置酒店地址
     *
     * @param location 酒店地址
     */
    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    /**
     * @return flag
     */
    public Integer getFlag() {
        return flag;
    }

    /**
     * @param flag
     */
    public void setFlag(Integer flag) {
        this.flag = flag;
    }
}